package flex.cc.drive.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import flex.cc.drive.dao.DriverRemarkDao;
import flex.cc.drive.dto.DriverRemarkEntity;
import flex.cc.drive.service.DriverRemarkService;

/**
*
* @author R
* 2022年01月14日 13:35:01
* @desc 代驾单预约备注实现层
*/
@Service("driverRemarkService")
@Transactional(rollbackFor = Exception.class)
public class DriverRemarkServiceImpl implements DriverRemarkService {
    
    @Autowired
    private DriverRemarkDao driverRemarkDao;

    /**
	 * @author WANGCONG
	 * 2022年1月18日下午14:14:28
	 * @desc 插入备注
	 */
	@Override
	public int insert(DriverRemarkEntity driverRemarkEntity) {
		return driverRemarkDao.insert(driverRemarkEntity);
	}
 
}
